package ch04.d1;

public class Worker extends Person{
    int salary;

    public void work() {
        System.out.println("工作");
    }
    public void sing(String x,int y) {
        System.out.println("唱歌");
    }
    public void sing(int y,String x) {
        System.out.println("唱歌");
    }

}
